package com.whenjun.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 后台用户表
 * </p>
 *
 * @author whenjun
 * @since 2023-11-08
 */
@ApiModel(value = "Account对象", description = "后台用户表")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("工号")
    private String jobNo;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("部门id")
    private String departmentId;

    @ApiModelProperty("部门")
    private String department;

    @ApiModelProperty("新增人")
    private String insertUid;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("状态值  0正常   1删除")
    private Boolean status;

    @ApiModelProperty("密码修改状态 0未修改   1已修改")
    private Boolean updatePass;

    @ApiModelProperty("园区id")
    private String parkId;

    @ApiModelProperty("admin、superAdmin   其他为普通园区用户")
    private String type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getJobNo() {
        return jobNo;
    }

    public void setJobNo(String jobNo) {
        this.jobNo = jobNo;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getInsertUid() {
        return insertUid;
    }

    public void setInsertUid(String insertUid) {
        this.insertUid = insertUid;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Boolean getUpdatePass() {
        return updatePass;
    }

    public void setUpdatePass(Boolean updatePass) {
        this.updatePass = updatePass;
    }

    public String getParkId() {
        return parkId;
    }

    public void setParkId(String parkId) {
        this.parkId = parkId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Account{" +
            "id = " + id +
            ", jobNo = " + jobNo +
            ", username = " + username +
            ", nickname = " + nickname +
            ", password = " + password +
            ", phone = " + phone +
            ", email = " + email +
            ", departmentId = " + departmentId +
            ", department = " + department +
            ", insertUid = " + insertUid +
            ", createTime = " + createTime +
            ", updateTime = " + updateTime +
            ", status = " + status +
            ", updatePass = " + updatePass +
            ", parkId = " + parkId +
            ", type = " + type +
        "}";
    }
}
